import axios from "axios";
import config from "../config/Config.js";

const unitHttp = {
    queryAll(callBack){
        axios.get(config.BASE_URL + "/unit/queryAll").then(res=>callBack(res.data));
    }
}

export default unitHttp;